package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xijie123
 * @since 2018-01-30
 */
@TableName("t_cooperation_dot")
public class TCooperationDot extends Model<TCooperationDot> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 企业
     */
    private Integer deptid;
    /**
     * 网点名称
     */
    @TableField("dot_name")
    private String dotName;
    /**
     * 联系人
     */
    @TableField("contacts_name")
    private String contactsName;
    /**
     * 联系号码
     */
    @TableField("contacts_phone")
    private String contactsPhone;
    private String code;
    /**
     * 省份
     */
    @TableField("province_code")
    private Integer provinceCode;
    /**
     * 城市
     */
    @TableField("city_code")
    private Integer cityCode;
    /**
     * 区县
     */
    @TableField("area_code")
    private Integer areaCode;
    /**
     * 结算方式 0 当场结算 1 月结
     */
    @TableField("settlement_type")
    private String settlementType;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建该费用名称的用户ID
     */
    @TableField("create_user_id")
    private Integer createUserId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getDotName() {
        return dotName;
    }

    public void setDotName(String dotName) {
        this.dotName = dotName;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(Integer provinceCode) {
        this.provinceCode = provinceCode;
    }

    public Integer getCityCode() {
        return cityCode;
    }

    public void setCityCode(Integer cityCode) {
        this.cityCode = cityCode;
    }

    public Integer getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(Integer areaCode) {
        this.areaCode = areaCode;
    }

    public String getSettlementType() {
        return settlementType;
    }

    public void setSettlementType(String settlementType) {
        this.settlementType = settlementType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TCooperationDot{" +
        "id=" + id +
        ", deptid=" + deptid +
        ", dotName=" + dotName +
        ", contactsName=" + contactsName +
        ", contactsPhone=" + contactsPhone +
        ", code=" + code +
        ", provinceCode=" + provinceCode +
        ", cityCode=" + cityCode +
        ", areaCode=" + areaCode +
        ", settlementType=" + settlementType +
        ", createTime=" + createTime +
        ", createUserId=" + createUserId +
        "}";
    }
}
